#ifndef WSSOFT_H
#define WSSOFT_H

#include <QMainWindow>
#include <cpu.h>
#include <bmc.h>
#include <QPointer>
#include <QStandardItemModel>

class QProcess;


QT_BEGIN_NAMESPACE
namespace Ui { class WsSoft; }
QT_END_NAMESPACE

class WsSoft : public QMainWindow
{
    Q_OBJECT

public:
    WsSoft(QWidget *parent = nullptr);
    ~WsSoft();


private slots:
    void on_lineEdit_returnPressed();
    void readBashStandardOutputInfo();
    void readBashStandardErrorInfo();




private slots:
    void on_bth_BMC_clicked();


    void on_bth_CPU_clicked();

    void on_bth_GPU_clicked();

    void on_bth_LTP_clicked();

    void on_bth_USB_clicked();


    void on_bth_memory_clicked();

    void on_bth_file_clicked();


    void on_bth_exit_clicked();



    void on_bth_RecordDate_clicked();


private:
    Ui::WsSoft *ui;
    //QPointer m_process;
   // QPointer *m_process;

    QPointer<QProcess> m_process;


};
#endif // WSSOFT_H
